package com.logistics.team3.po;
// default package

import java.util.Date;
import java.util.HashSet;
import java.util.Set;


/**
 * 车辆信息
 * Car entity. @author MyEclipse Persistence Tools
 */

public class Car  implements java.io.Serializable {


    // Fields    

     private String id;
     /**
      *购车负责人 
      */
     private Employee employee;
     /**
      *所在配送点 
      */
     private Distribution distribution;
     /**
      *车牌号
      */
     private String carNumber;
     /**
      *车辆型号 
      */
     private String type;
     /**
      *车辆产地 
      */
     private String city;
     /**
      *出厂时间 
      */
     private Date startTime;
     /**
      *购买时间 
      */
     private Date buyTime;
     /**
      *车辆体积 
      */
     private Double volume;
     /**
      *容量 
      */
     private Double capacity;
     /**
      *车辆状态 
      */
     private Integer state;
     private Set dispatchs = new HashSet(0);
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Employee getEmployee() {
		return employee;
	}
	public void setEmployee(Employee employee) {
		this.employee = employee;
	}
	public Distribution getDistribution() {
		return distribution;
	}
	public void setDistribution(Distribution distribution) {
		this.distribution = distribution;
	}
	public String getCarNumber() {
		return carNumber;
	}
	public void setCarNumber(String carNumber) {
		this.carNumber = carNumber;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getBuyTime() {
		return buyTime;
	}
	public void setBuyTime(Date buyTime) {
		this.buyTime = buyTime;
	}
	public Double getVolume() {
		return volume;
	}
	public void setVolume(Double volume) {
		this.volume = volume;
	}
	public Double getCapacity() {
		return capacity;
	}
	public void setCapacity(Double capacity) {
		this.capacity = capacity;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public Set getDispatchs() {
		return dispatchs;
	}
	public void setDispatchs(Set dispatchs) {
		this.dispatchs = dispatchs;
	}

}